package com.tarena.vehicle.management.mapper;

import com.tarena.vehicle.management.pojo.entity.VehicleInspection;
import com.tarena.vehicle.management.pojo.query.VehicleInspectionQuery;
import com.tarena.vehicle.management.pojo.vo.VehicleInspectionListItemVO;
import com.tarena.vehicle.management.pojo.vo.VehicleInspectionStandardVO;
import java.util.List;

public interface VehicleInspectionMapper {

    int getCountByInspectionNum(String num);

    int insert(VehicleInspection inspection);

    VehicleInspectionStandardVO getVehicleInspectionById(Integer id);

    List<VehicleInspectionListItemVO> getVehicleInspectionList(VehicleInspection vehicleInspection);

    int updateStatusPass(Integer id);

    int updateStatusNotPass(Integer id);

    int updateVehicleInspection(VehicleInspection inspection);

    int deleteVehicleInspectionById(Integer id);
}
